package com.zy.cat.entity.jd;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

@Data
@RequiredArgsConstructor
@AllArgsConstructor
@ApiModel("京东商品详情实体类")
public class JDGoodsInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 134463333332222L;

	
	@ApiModelProperty("商品ID")
	private Long skuId;

	@ApiModelProperty("商品单价即京东价")
	private Double unitPrice;

	@ApiModelProperty("商品落地页")
	private String materialUrl;

	@ApiModelProperty("推广结束日期(时间戳，毫秒)")
	private Long endDate;
	
	@ApiModelProperty("是否支持运费险(1:是,0:否)")
	private int isFreeFreightRisk;

	@ApiModelProperty("是否包邮(1:是,0:否,2:自营商品遵从主站包邮规则)")
	private int isFreeShipping;

	@ApiModelProperty("无线佣金比例")
	@JsonIgnore
	private Double commisionRatioWl;

	@ApiModelProperty("PC佣金比例")
	@JsonIgnore
	private Double commisionRatioPc;
	
	@ApiModelProperty("图片地址")
	private String imgUrl;

	@ApiModelProperty("商家ID")
	private Long vid;

	@ApiModelProperty("一级类目名称")
	private String cidName;

	@ApiModelProperty("商品无线京东价（单价为-1表示未查询到该商品单价）")
	private Double wlUnitPrice;
	
	@ApiModelProperty("二级类目名称")
	private String cid2Name;

	@ApiModelProperty("是否秒杀(1:是,0:否)")
	private Long isSeckill;

	@ApiModelProperty("二级类目ID")
	private String cid2;

	@ApiModelProperty("三级类目名称")
	private String cid3Name;

	@ApiModelProperty("30天引单数量")
	private Long inOrderCount;

	@ApiModelProperty("三级类目ID")
	private String cid3;

	@ApiModelProperty("店铺ID")
	private Long shopId;
	
	@ApiModelProperty("是否自营(1:是,0:否)")
	private int isJdSale;

	@ApiModelProperty("商品名称")
	private String goodsName;

	@ApiModelProperty("推广开始日期（时间戳，毫秒）")
	private Long startDate;

	@ApiModelProperty("cid")
	private Long cid;
	
	@ApiModelProperty("预估佣金")
	private long fcode;
}
